home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form InpForm1
- AutoRedraw = -1 'True
- BackColor = &H00C0C0C0&
- BorderStyle = 0 'None
- Caption = "Form1"
- ClientHeight = 2025
- ClientLeft = -45
- ClientTop = -330
- ClientWidth = 5010
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2025
- ScaleWidth = 5010
- ShowInTaskbar = 0 'False
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton Command3
- Caption = "Oops"
- Height = 270
- Left = 3870
- TabIndex = 5
- Top = 1665
- Width = 900
- End
- Begin VB.CommandButton Command2
- Caption = "Alright"
- Height = 270
- Left = 3870
- TabIndex = 4
- Top = 1350
- Width = 900
- End
- Begin VB.CommandButton Command1
- BackColor = &H00C0C0C0&
- Caption = "X"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 8.25
- Charset = 0
- Weight = 700
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 240
- Left = 4635
- Style = 1 'Graphical
- TabIndex = 3
- Top = 90
- Width = 285
- End
- Begin VB.TextBox Text1
- BackColor = &H00C0FFFF&
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 285
- Left = 90
- TabIndex = 0
- Text = "Text1"
- Top = 1620
- Width = 3525
- End
- Begin VB.Label Label2
- Alignment = 2 'Center
- BackColor = &H00006000&
- Caption = "Label2"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00FFFF80&
- Height = 285
- Left = 45
- TabIndex = 2
- Top = 60
- Width = 4920
- End
- Begin VB.Image Image1
- Height = 480
- Left = 4095
- Picture = "InpForm1.frx":0000
- Top = 405
- Width = 480
- End
- Begin VB.Label Label1
- Appearance = 0 'Flat
- AutoSize = -1 'True
- BackColor = &H00C0C0C0&
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 9.75
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- ForeColor = &H00C00000&
- Height = 240
- Left = 135
- TabIndex = 1
- Top = 450
- Width = 3525
- WordWrap = -1 'True
- End
- Attribute VB_Name = "InpForm1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- Command3_Click
- End Sub
- Private Sub Command2_Click() 'ok
- Inp1 = Text1.Text
- DefInp = Text1.Text
- InpForm1.Hide
- End Sub
- Private Sub Command3_Click() 'cancel
- Inp1 = ""
- InpForm1.Hide
- End Sub
- Private Sub Form_Activate()
- Text1.SetFocus
- End Sub
- Private Sub Text1_KeyPress(KeyAscii As Integer)
- If KeyAscii = 13 Then
- Command2_Click
- End If
- End Sub
-